package com.campus.delivery;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan({"com.campus.delivery.mapper"})
@EnableFeignClients(value = {"com.campus.delivery.feign"})
@EnableTransactionManagement
@EnableAsync
public class CampusDeliveryApplication {

    public static void main(String[] args) {
        SpringApplication.run(CampusDeliveryApplication.class, args);
    }

}
